package com.ljy.tkmodel.entity.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="封装答题记录对象", description="专硕题库")
public class LjyZhuanshuoUserAnswerInfoVO implements Serializable {
    //封装vo新增字段
    private Integer userId;
    //用户选择项
    private String userAnswer;

    @ApiModelProperty(value = "是否答对")
    private Boolean isRight;

    @ApiModelProperty(value = "答题时间")
    private Integer AnswerCtime;

    @ApiModelProperty(value = "正确数")
    private Integer rightCount;

    @ApiModelProperty(value = "错误数")
    private Integer wrongCount;

    @ApiModelProperty(value = "是否清除")
    private Boolean status;

    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "主键id")
    @TableId(value = "question_id", type = IdType.AUTO)
    private Integer questionId;

    @ApiModelProperty(value = "题干内容")
    private String title;

    @ApiModelProperty(value = "题干的图片说明")
    private Integer titleImg;

    @ApiModelProperty(value = "章节下面的排列序号")
    private Integer sNum;

    @ApiModelProperty(value = "题目编号 例如：2015N101X")
    private String number;

    @ApiModelProperty(value = "章节id")
    private Integer chapterId;

    @ApiModelProperty(value = "章节父id")
    private Integer chapterParentId;

    @ApiModelProperty(value = "年份")
    private Integer year;

    @ApiModelProperty(value = "考点还原")
    private String restore;

    @ApiModelProperty(value = "题目解析")
    @TableField(value = "`explain`")
    private String explain;

    @ApiModelProperty(value = "题目解析的图片")
    private Integer explainImg;

    @ApiModelProperty(value = "选择类型1单选 2多选")
    private Boolean type;

    @ApiModelProperty(value = "正确答案")
    private String answer;

    @ApiModelProperty(value = "难度 (取值范围1-5星) ")
    private Boolean difficulty;

    @ApiModelProperty(value = "是否删除 1已删除 0未删除")
    @TableField(value = "is_del")
    private Boolean isDel;

    @ApiModelProperty(value = "编辑或者是添加时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @TableField(value = "ctime")
    private Integer ctime;

    @ApiModelProperty(value = "答案A选项")
    private String sA;

    @ApiModelProperty(value = "答案A选项的图片")
    private Integer sAImg;

    @ApiModelProperty(value = "答案B选项")
    private String sB;

    @ApiModelProperty(value = "答案B选项的图片")
    private Integer sBImg;

    @ApiModelProperty(value = "答案C选项")
    private String sC;

    @ApiModelProperty(value = "答案C选项的图片")
    private Integer sCImg;

    @ApiModelProperty(value = "答案D选项")
    private String sD;

    @ApiModelProperty(value = "答案D选项的图片")
    private Integer sDImg;

    @ApiModelProperty(value = "答案E选项")
    private String sE;

    @ApiModelProperty(value = "答案E选项的图片")
    @TableField(value = "s_e_img")
    private Integer sEImg;

    @ApiModelProperty(value = "视频地表id")
    private Integer mediaId;

    @ApiModelProperty(value = "题型 A型题 B型题 C型题 X型题")
    private String questionType;

    @ApiModelProperty(value = "考试大纲")
    private String syllabus;

    @ApiModelProperty(value = "新考点还原")
    private String restoren;

    @ApiModelProperty(value = "新答案解析")
    @TableField(value = "`explainn`")
    private String explainn;

    @ApiModelProperty(value = "考点还原图片")
    private String restoreImg;

    @ApiModelProperty(value = "新答案解析图")
    private String explainnImg;

    @ApiModelProperty(value = "是否高频考点 0：否 1：是")
    private Boolean isHighTest;

    @ApiModelProperty(value = "考点还原[九版]")
    private String recovery;

    @ApiModelProperty(value = "考点还原图片[九版]")
    private String recoveryImg;

    @ApiModelProperty(value = "标签备注")
    private String tagsRemarks;

    @ApiModelProperty(value = "关联的题(,连接)")
    private String relatedQuestion;

    @ApiModelProperty(value = "分值")
    private String score;

    @ApiModelProperty(value = "是否为病例题（1：是   0：否）")
    private Boolean isCase;

    @ApiModelProperty(value = "乱序章节id")
    private Integer chapterDisorderId;

    @ApiModelProperty(value = "乱序章节父id")
    private Integer chapterDisorderParentId;

    @ApiModelProperty(value = "材料id")
    private Integer materialsId;

    @ApiModelProperty(value = "来源于")
    private String source;

    @ApiModelProperty(value = "年份下序号")
    private Integer yNum;

    @ApiModelProperty(value = "年份下章节id")
    private Integer yearId;

    @ApiModelProperty(value = "年份真题年份id")
    private Integer yearParentId;
}
